package Entity;

/**
 * 读者类别信息
 * @Author Chen
 * @Date 2022/1/6 11:33
 * @Version 1.0
 */
public class Category {
    private int readersTypeNumber;
    private String readersTypeName;
    private int days;
    private int bookNumber;
    private double fine;

    public Category() {
        super();
    }

    public Category(int readersTypeNumber, String readersTypeName, int days, int bookNumber,double fine) {
        super();
        this.readersTypeNumber = readersTypeNumber;
        this.readersTypeName = readersTypeName;
        this.days = days;
        this.bookNumber = bookNumber;
        this.fine = fine;
    }

    public int getReadersTypeNumber() {
        return readersTypeNumber;
    }

    public void setReadersTypeNumber(int readersTypeNumber) {
        this.readersTypeNumber = readersTypeNumber;
    }

    public String getReadersTypeName() {
        return readersTypeName;
    }

    public void setReadersTypeName(String readersTypeName) {
        this.readersTypeName = readersTypeName;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public int getBookNumber() {
        return bookNumber;
    }

    public void setBookNumber(int bookNumber) {
        this.bookNumber = bookNumber;
    }

    public double getFine() {
        return fine;
    }

    public void setFine(double fine) {
        this.fine = fine;
    }

    @Override
    public String toString() {
        return readersTypeNumber +"            "+ readersTypeName +"     "+ days +"    "+bookNumber +"    "+fine;
    }
}
